package com.xdl.moudle.shiro.service.iface;

import java.util.List;

import com.xdl.moudle.shiro.domain.Menu;
import com.xdl.moudle.shiro.domain.Operation;
import com.xdl.moudle.shiro.domain.Role;

public interface UserPermissionsService {

	/**
	 * 根据uid查询菜单
	 * @param uid
	 * @return
	 */
	public List<Menu> queryMenuByUid(String uid);
	/**
	 * 根据uid查询角色
	 * @param uid
	 * @return
	 */
	public List<Role> queryRoleByUid(String uid);
	/**
	 * 根据uid查询操作权限
	 * @param uid
	 * @return
	 */
	public List<Operation> queryOperationByUid(String uid, String menuId);
}
